package com.barbeque.mall.mapper;

import com.barbeque.mall.bean.wx.goods.MarketCategoryBean;
import com.barbeque.mall.bean.wx.goods.MarketCategoryBeanExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxMarketCategoryMapper {
    long countByExample(MarketCategoryBeanExample example);

    int deleteByExample(MarketCategoryBeanExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketCategoryBean record);

    int insertSelective(MarketCategoryBean record);

    List<MarketCategoryBean> selectByExample(MarketCategoryBeanExample example);

    MarketCategoryBean selectByPrimaryKey(Integer id);

    Integer selectPidByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketCategoryBean record, @Param("example") MarketCategoryBeanExample example);

    int updateByExample(@Param("record") MarketCategoryBean record, @Param("example") MarketCategoryBeanExample example);

    int updateByPrimaryKeySelective(MarketCategoryBean record);

    int updateByPrimaryKey(MarketCategoryBean record);
}